Optimal. Leaf size=47 \[ \frac {x \left (1-x^2\right )^3}{4 \left (x^2+1\right )^4}+\frac {3 x \left (1-x^2\right )}{8 \left (x^2+1\right )^2}+\frac {3}{8} \tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {413, 21, 203} \[ \frac {x \left (1-x^2\right )^3}{4 \left (x^2+1\right )^4}+\frac {3 x \left (1-x^2\right )}{8 \left (x^2+1\right )^2}+\frac {3}{8} \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 203
Rule 413
Rubi steps
\begin {align*} \int \frac {\left (-1+x^2\right )^4}{\left (1+x^2\right )^5} \, dx &=\frac {x \left (1-x^2\right )^3}{4 \left (1+x^2\right )^4}+\frac {1}{8} \int \frac {\left (-1+x^2\right )^2 \left (6+6 x^2\right )}{\left (1+x^2\right )^4} \, dx\\ &=\frac {x \left (1-x^2\right )^3}{4 \left (1+x^2\right )^4}+\frac {3}{4} \int \frac {\left (-1+x^2\right )^2}{\left (1+x^2\right )^3} \, dx\\ &=\frac {x \left (1-x^2\right )^3}{4 \left (1+x^2\right )^4}+\frac {3 x \left (1-x^2\right )}{8 \left (1+x^2\right )^2}+\frac {3}{16} \int \frac {2+2 x^2}{\left (1+x^2\right )^2} \, dx\\ &=\frac {x \left (1-x^2\right )^3}{4 \left (1+x^2\right )^4}+\frac {3 x \left (1-x^2\right )}{8 \left (1+x^2\right )^2}+\frac {3}{8} \int \frac {1}{1+x^2} \, dx\\ &=\frac {x \left (1-x^2\right )^3}{4 \left (1+x^2\right )^4}+\frac {3 x \left (1-x^2\right )}{8 \left (1+x^2\right )^2}+\frac {3}{8} \tan ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 41, normalized size = 0.87 \[ \frac {-5 x^7+3 x^5-3 x^3+3 \left (x^2+1\right )^4 \tan ^{-1}(x)+5 x}{8 \left (x^2+1\right )^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 67, normalized size = 1.43 \[ -\frac {5 \, x^{7} - 3 \, x^{5} + 3 \, x^{3} - 3 \, {\left (x^{8} + 4 \, x^{6} + 6 \, x^{4} + 4 \, x^{2} + 1\right )} \arctan \relax (x) - 5 \, x}{8 \, {\left (x^{8} + 4 \, x^{6} + 6 \, x^{4} + 4 \, x^{2} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.58, size = 54, normalized size = 1.15 \[ \frac {3}{32} \, \pi \mathrm {sgn}\relax (x) - \frac {5 \, {\left (x - \frac {1}{x}\right )}^{3} + 12 \, x - \frac {12}{x}}{8 \, {\left ({\left (x - \frac {1}{x}\right )}^{2} + 4\right )}^{2}} + \frac {3}{16} \, \arctan \left (\frac {x^{2} - 1}{2 \, x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 33, normalized size = 0.70 \[ \frac {3 \arctan \relax (x )}{8}+\frac {-\frac {5}{8} x^{7}+\frac {3}{8} x^{5}-\frac {3}{8} x^{3}+\frac {5}{8} x}{\left (x^{2}+1\right )^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.99, size = 48, normalized size = 1.02 \[ -\frac {5 \, x^{7} - 3 \, x^{5} + 3 \, x^{3} - 5 \, x}{8 \, {\left (x^{8} + 4 \, x^{6} + 6 \, x^{4} + 4 \, x^{2} + 1\right )}} + \frac {3}{8} \, \arctan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 47, normalized size = 1.00 \[ \frac {3\,\mathrm {atan}\relax (x)}{8}+\frac {-\frac {5\,x^7}{8}+\frac {3\,x^5}{8}-\frac {3\,x^3}{8}+\frac {5\,x}{8}}{x^8+4\,x^6+6\,x^4+4\,x^2+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 46, normalized size = 0.98 \[ \frac {- 5 x^{7} + 3 x^{5} - 3 x^{3} + 5 x}{8 x^{8} + 32 x^{6} + 48 x^{4} + 32 x^{2} + 8} + \frac {3 \operatorname {atan}{\relax (x )}}{8} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________